<template>
  <div>
    <div>
      <van-tabbar v-model="active">
        <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
        <van-tabbar-item icon="bag-o" to="/Classify">分类</van-tabbar-item>
        <van-tabbar-item
          ><van-icon name="shop-collect" style="font-size: 35px"
        /></van-tabbar-item>
        <van-tabbar-item icon="cart-o" to="/Cart">购物车</van-tabbar-item>
        <van-tabbar-item icon="contact-o" to="/Mine">我的</van-tabbar-item>
      </van-tabbar>
    </div>
    <RouterView></RouterView>
  </div>
</template>

<script setup>
import { ref } from "vue";
const active = ref(0);
</script>

<style></style>
